﻿using SharpDX;

namespace MikadoShooter
{
    public abstract class DrawBase
    {
        protected int Verticals { get; private set; }
        protected Vector4Base Vector4Base { get; private set; }

        protected DrawBase(int verticals, Vector4Base vector4Base)
        {
            Verticals = verticals;
            Vector4Base = vector4Base;
        }

        protected void Update(int verticals, Vector4Base vector4Base)
        {
            Verticals = verticals;
            Vector4Base = vector4Base;
        }

        public Vector4[] Data
        {
            get { return Vector4Base.Data; }
        }

        public int Length
        {
            get { return Verticals; }
        }
    }
}